import Mock from 'mockjs'

import homeAPi from './mockServeData/home'
import userApi from './mockServeData/user'
import authApi from './mockServeData/permission'

Mock.mock(/home\/getData/, homeAPi.getStatisticalData)
Mock.mock(/user\/getUserList/, userApi.getUserList)
Mock.mock(/user\/addUser/, userApi.createUser)
Mock.mock(/user\/updateUser/, userApi.updateUser)
Mock.mock(/user\/deleteUser/, userApi.deleteUser)
Mock.mock(/user\/login/, authApi.getMenu)